package com.galudisu.comm

import akka.actor.ActorRef

/**
  * @author galudisu
  */

case class JobRequest(name: String, message: Any)

sealed trait Response
case class JobSuccess(name: String) extends Response
case class JobFailure(name: String) extends Response

case class Job(name: String, message: Any, respondTo: ActorRef, jobMaster: ActorRef)

case object Register

// =================Business Object===================

case class LogarithmCalcJob(e: Int)

